/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.basicdata.basicpeople.entity;

import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 基础人员信息主附表Entity
 * @author 刘明星
 * @version 2021-11-18
 */
@Data
public class BasicPeople extends DataEntity<BasicPeople> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="姓名", align=2, sort=1)
	private String peopleName;		// 姓名
	@ExcelField(title="性别", align=2, sort=2)
	private String gender;		// 性别
	@ExcelField(title="民族", align=2, sort=3)
	private String nation;		// 民族
	@ExcelField(title="出生年月", align=2, sort=4)
	private String birth;		// 出生年月
	@ExcelField(title="身份证号", align=2, sort=5)
	private String idNumber;		// 身份证号
	@ExcelField(title="电话号", align=2, sort=6)
	private String phoneNumber;		// 电话号
	@ExcelField(title="参工时间", align=2, sort=7)
	private String workTime;		// 参工时间
	@ExcelField(title="入党时间", align=2, sort=8)
	private String partyTime;		// 入党时间
	@ExcelField(title="员工编号", align=2, sort=9)
	private String employeesCode;		// 员工编号
	@ExcelField(title="照片", align=2, sort=10)
	private String photo;		// 照片
	@ExcelField(title="排序", align=2, sort=11)
	private String sort;		// 排序
	private List<BasicPeopleEducation> basicPeopleEducationList = Lists.newArrayList();		// 子表列表
	private List<BasicPeopleJobVote> basicPeopleJobVoteList = Lists.newArrayList();		// 子表列表
	private List<BasicPeoplePositionVote> basicPeoplePositionVoteList = Lists.newArrayList();		// 子表列表
	private List<BasicPeopleUnitAdminVote> basicPeopleUnitAdminVoteList = Lists.newArrayList();		// 子表列表
	
	public BasicPeople() {
		super();
	}

	public BasicPeople(String id){
		super(id);
	}
}